package com.reverie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@TableName("biz_category")
@Data
public class GoodCategory {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer sortId;
    private String iconPath;
    private String selectedIconPath;
    private Boolean published = false;

    @TableField(exist = false)
    private List<Goods> goodList;
}
